package com.wuyb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuyb.pojo.MeetingChat;
import com.wuyb.pojo.entity.BaseResponse;

import java.util.List;

/**
 * 会议聊天服务类
 *
 * @Author: wyb
 * @Date: 2024/01/02/14:31
 * @Description:
 */

public interface MeetingChatService extends IService<MeetingChat> {

    /**
     * 插入聊天内容
     * @param meetingId
     * @param userId
     * @param message
     */
    void insert(String meetingId, Integer userId, String message);


    /**
     * 查看所有聊天内容的分词结果
     * @return
     */
    BaseResponse<?> selectChatJieBa();


    /**
     * 查看分词的停用词
     * @return
     */
    BaseResponse<?> selectStopWord();


    /**
     * 修改分词的停用词
     * @param words
     * @return
     */
    BaseResponse<String> updateStopWord(List<String> words);
}
